

function testWindow(){
	
	//window.moveTo(100,200);
	//window.resizeTo(100, 200);
	//window.resizeBy(23, 20);
	
	window.open("win2.html","_blank","height=150,width=300,top=10,left=10,resizable=no");
	
}

window.msg = 0393;

var timer1=window.setTimeout(testWindow, 1000);//运行后三秒钟执行函数
var timer2=window.setInterval(testWindow, 8000);//每隔8秒，弹出一个窗口

window.clearTimeout(itmer1);//20秒后取消timeout的代码
window.clearInterval(timer2);//20秒后取消循环的inter代码
testWindow();